//
//  NSString+StringByDecodingURLFormat.m
//  PrivateCustom
//
//  谷瑞杰 on 15/5/19.
//  Copyright (c) 2015年 Hiaas-玄. All rights reserved.
//

#import "NSString+StringByDecodingURLFormat.h"

@implementation NSString (StringByDecodingURLFormat)

- (NSString *)stringByDecodingURLFormat
{
    NSString *result = [(NSString *)self stringByReplacingOccurrencesOfString:@"+" withString:@""];
    result = [result stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
    return result;
}


@end
